package component

import (
	"bridge_viewing/component/alisms"
	"bridge_viewing/config"
)

func Init(config *config.GlobalConfig) {
	initAliSms(&config.AliyunSmsConfig)
}

func initAliSms(config *config.AliyunSmsConfig) {
	alisms.InitSmsClient(config.AccessKeyId, config.AccessKeySecret)
}
